package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.common.PageResult;
import org.example.pojo.entity.TbStudent;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;


public interface TbStudentService extends IService<TbStudent> {

    void download(HttpServletResponse response) throws IOException;

    PageResult<TbStudent> getStudents(Long page, Long pageSize);

    void editStudent(TbStudent student);

    PageResult<TbStudent> getStudentsList(Long page, Long pageSize, String name);

    void addStudent(TbStudent student);

    void deleteStudent(Integer sid);

}
